package com.anke.dao;

import com.anke.entity.Company;
import com.anke.entity.Manager;
import com.anke.entity.Staff;
import com.anke.entity.User;

import java.util.List;

public interface ManagerDao {
    List<Manager> login(Manager manager);
    void addUser(User user);
    void deleteUserById(User user);
    Integer updateUser(User user);
    List<User> selectAllUser();
    void addCompany(Company company);
    void deleteCompanyById(Company company);
    Integer updateCompany(Company company);
    List<Company> selectAllCompany();

}
